package naga.x.platform2.app;

public class AppException extends Exception {

	private final int code;
	
	public AppException(int code) {
		super();
		this.code = code;
	}

	public AppException(String message, Throwable cause, int code) {
		super(message, cause);
		this.code = code;
	}

	public AppException(String message, int code) {
		super(message);
		this.code = code;
	}

	public AppException(Throwable cause, int code) {
		super(cause);
		this.code = code;
	}
	
	public int getCode() {
		return code;
	}
	
}
